package com.zhdl.modules.puncturecable.service;

import com.zhdl.modules.tools.CommonCallback;

import java.util.List;

public interface PunctureCableService {

    List<String[]> setGetLocation();

    void init();

    void robotSendPickAction(String port, int actionId, CommonCallback<String> callback);

    void robotSendPickAction(String port, String actionCmd, CommonCallback<String> callback);

    void robotSendPutAction(String port, String actionName, CommonCallback<String> callback);

    void robotSendPutActionCmd(String port, String actionCmd, CommonCallback<String> callback);

    void robotReadLocation(String port, CommonCallback<String> callback);

    void plcWriteValue(int address, int bit, int value, CommonCallback<String> callback);

    void robotToPlc(int model, boolean open, CommonCallback<String> callback);

    void robotToMotor(int model, boolean open, CommonCallback<String> callback);

    void robotToPlc(int model, boolean open);

    void robotFinishInit(boolean open);

    void readPlc0072(CommonCallback<String> callback);

    void readStopStatus(CommonCallback<String> callback);

    void readPlcSignal(CommonCallback<String> callback);

    void readPlcWarnSignal(CommonCallback<String> callback);

    void test(CommonCallback<String> callback);

    void readPlcSignal1(CommonCallback<String> callback);

    String readPlcReachSignal(int model);
}
